import Vue from 'vue'
import store from './store';
import App from './App.vue'
import i18n from './i18n'
import '@/assets/remNew.js'
import router from '@/router/router'
import lottie from 'vue-lottie'








Vue.config.productionTip = false
Vue.prototype.TITLE = process.env.VUE_APP_TITLE
Vue.prototype.H5ZZ = process.env.VUE_APP_H5ZZ
Vue.prototype.APPZZ = process.env.VUE_APP_APPZZ
import { Button, Row, Col, NavBar, Toast, Loading, Dialog, Tabbar, TabbarItem, NoticeBar, Icon } from 'vant'
Vue.use(Button).use(Row).use(Col).use(NavBar).use(Toast).use(Loading).use(Dialog).use(Tabbar).use(TabbarItem).use(NoticeBar).use(Icon)
window.eventBus = new Vue()
// import FastClick from 'fastclick'
// FastClick.attach(document.body);

import VueClipboard from 'vue-clipboard2'
VueClipboard.config.autoSetContainer = true
Vue.use(VueClipboard);


new Vue({
  //  Router:Router,
  beforeCreate() {
    Vue.prototype.$bus = this;
  },
  store: store,
  i18n,
  router: router,
  render: h => h(App),
}).$mount('#app')
// eslint-disable-next-line vue/multi-word-component-names
Vue.component('Lottie',lottie)

